<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysBranchBean.id}"/>
		<f:event type="preRenderView" listener="#{sysBranchBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Branch"/>

	<ui:define name="header">
		Sys Branch
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Branch
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysBranchBeanSysBranchHrEmp" value="Hr Emp:"/>
			<h:link id="sysBranchBeanSysBranchHrEmp" outcome="/form/hrEmp/view" value="#{sysBranchBean.sysBranch.hrEmp}">
				<f:param name="id" value="#{sysBranchBean.sysBranch.hrEmp.empNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchBranchCode" value="Branch Code:"/>
			<h:outputText id="sysBranchBeanSysBranchBranchCode" value="#{sysBranchBean.sysBranch.branchCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchBranchName" value="Branch Name:"/>
			<h:outputText id="sysBranchBeanSysBranchBranchName" value="#{sysBranchBean.sysBranch.branchName}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchAddr1" value="Addr 1:"/>
			<h:outputText id="sysBranchBeanSysBranchAddr1" value="#{sysBranchBean.sysBranch.addr1}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchAddr2" value="Addr 2:"/>
			<h:outputText id="sysBranchBeanSysBranchAddr2" value="#{sysBranchBean.sysBranch.addr2}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchAddr3" value="Addr 3:"/>
			<h:outputText id="sysBranchBeanSysBranchAddr3" value="#{sysBranchBean.sysBranch.addr3}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchAddr4No" value="Addr 4No:"/>
			<h:outputText id="sysBranchBeanSysBranchAddr4No" value="#{sysBranchBean.sysBranch.addr4No}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchAddr5" value="Addr 5:"/>
			<h:outputText id="sysBranchBeanSysBranchAddr5" value="#{sysBranchBean.sysBranch.addr5}"/>
			<h:outputText/>
			<h:outputLabel for="sysBranchBeanSysBranchPhoneNo" value="Phone No:"/>
			<h:outputText id="sysBranchBeanSysBranchPhoneNo" value="#{sysBranchBean.sysBranch.phoneNo}"/>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>